<script type="text/jsx">
export default {
  components: {
    navTemp: () => import('./Nav.vue')
  },
  render (h) {
    const c1 = h('div', {
      class: `app-container`,//样式加省略号
    }, '我是JSX模板')

    const c2Data = {
      props: {
        title: '这是jsx-title'
      }
    }
    console.log('c2Data', c2Data);
    // const c2 = (<nav-temp {...c2Data} />)
    // console.log('c2', c2);

    return h('div', {}, [c1])
    // return (<navTemp {...c2Data} />)
  }
}
</script>